package com.bawei.mall.search.service;

import com.bawei.mall.search.domain.Po.ReadHistory;
import com.bawei.mall.search.domain.Vo.DetailVo;

import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.mall.search.service
 * @Project：mall_cloud
 * @name：ReadHistoryService
 */
public interface ReadHistoryService {
    List<ReadHistory> list();

    void create(ReadHistory readHistory);

    DetailVo detail(Integer id);

    void clear();

}
